import http from "@/utils/request_user";
import http_admin from "@/utils/request_admin";
export const getBook=(params)=>{
    return http.get('book/page',params)
}
export const getBookAdmin=(params)=>{
    return http_admin.get('book/page',params)
}
export const celBook = (params) =>{
    return http.put('book',params)
}
//预定房间
export const book = (params)=>{
    return http.post('book',params)
}
//删除预定信息
export const deleteBook = (params) =>{
    return http.delete('book',params)
}
